layui.use(['layer', 'form', 'admin', 'laydate', 'ax', 'formSelects'], function () {
    var $ = layui.jquery;
    var $ax = layui.ax;
    var form = layui.form;
    var admin = layui.admin;

    $(document).on('click', '#btnOpen', function(data) {
    	var id = $("#id").val();
    	var scoring = $("#scoring").val();
    	layer.open({
    		type: 2,
    		shadeClose: true,
    		shade: 0.5,
    		area: [480+'px', 350+'px'],
    		title: '查看',
    		maxmin: true, //开启最大化最小化按钮
    		content: Feng.ctxPath + "/modular/activity_apply/refuse?id=" + id+"&scoring=0"
    	});
    });
    $(document).on('click', '#btnOpens', function(data) {
    	var id = $("#id").val();
    	var scoring = $("#scoring").val();
    	layer.open({
    		type: 2,
    		shadeClose: true,
    		shade: 0.5,
    		area: [480+'px', 350+'px'],
    		title: '查看',
    		maxmin: true, //开启最大化最小化按钮
    		content: Feng.ctxPath + "/modular/activity_apply/refuse?id=" + id +"&scoring="+scoring
    	});
    });
    // 回显
    var handleStatus = $("#handleStatus").val();
    $('#status').find('option[value=' + handleStatus + ']').attr('selected', 'selected');
    form.render('select')



});



